/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.constant;


public class RedisConstants {

    /**
     * 模型管理构型定义前缀
     */
    public final static String ISFD_MODEL_MANAGEMENT_STRUCTURE_DEFINITION_TREE_QUERY_INDEX = "structure_definition_tree:";

    /**
     * 模型管理构型定义缓存时间1天
     */
    public final static Integer QUERY_INDEX_EXPIRATION_DAY = 1;

    /**
     * 基础要素数据库access token key 前缀
     */
    public final static String ISFD_ACCESS_TOKEN_KEY = "isfd_access_token_key_";

    /**
     * 基础要素数据库access token key 过期时间 秒
     */
    public final static Integer ISFD_ACCESS_TOKEN_KEY_EXPIRE_FOR_SEC = 3600;


    /**
     * 自然网格模型库构型定义前缀
     */
    public final static String ISFD_MESH_MODEL_DEFINITION_TREE_QUERY_INDEX = "mesh_structure_definition_tree:";

    /**
     * 自然网格模型库构型定义前缀 缓存时间1天
     */
    public final static Integer ISFD_MESH_MODEL_DEFINITION_TREE_QUERY_INDEX_EXPIRATION_DAY = 1;


    /**
     * 自然网格模型库 上传过的批次号
     */
    public final static String ISFD_MESH_MODEL_UPLOAD_BATCH_NUMBERS = "isfd_mesh_model_upload_batch_numbers";

    /**
     * 自然网格模型库 上传过的批次号 缓存时间30天
     */
    public final static Integer ISFD_MESH_MODEL_UPLOAD_BATCH_NUMBERS_EXPIRATION_DAY = 30;


    /**
     * 原始装机清单 前缀
     */
    public final static String DETAIL_ORIGINAL_V2_BOM = "detail_original_v2_bom";

    /**
     * 原始装机清单 过期时间 7天
     */
    public final static Integer DETAIL_ORIGINAL_V2_BOM_EXPIRATION_DAY = 7;

    /**
     * 以下是首页接口缓存key
     */
    public final static String DISTRIBUTION_HOME_PAGE_KEY = "distribution";
    public final static String DATAASSETSTATISTICS_HOME_PAGE_KEY = "dataAssetStatistics";
    public final static String GROWTHTREND_HOME_PAGE_KEY = "growthTrend";
    public final static String COUNTDATABYSCENARIO_HOME_PAGE_KEY = "countDataByScenario";
    public final static String DATASERVICE_HOME_PAGE_KEY = "dataSourceDistribution";


    /**
     * 九韶next平台获取数据资产的各个库总数的前缀
     */
    public final static String DATA_COUNT_NEXT_PLATFORM_PREFIX = "data_count_next_platform_prefix";
}
